<div ng-if="pagedata.showbody">
<style>
.btn-logo {
		margin-left:-0.6rem;
		height:1.6rem;
		width:1.6rem;
		border-radius: 100%;
}
.btn.btn-success-o {
	color:#999;
	border-radius: 1.6rem;
	padding-left:0.6rem;
	line-height: 1.6rem;
}
.btn.btn-gray-o {
	border: 1px solid #ddd;
	color:#999;
	border-radius: 1.6rem;
	padding-left:0.6rem;
	line-height: 1.6rem;
}
.btn.btn-gray-o.active {
	border: 1px solid #00c568;
    color: #00c568;
	background:#e8fcf8
}
</style>
<div class="popup">
	<div class="popup-body">
		<div class="popup-bottom" style="background:#fff">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showbody=false"></i>
			<div class="jy-content">
				<div class="fui-cell-title c bold">设置主人身份</div>
				<div class="gray">设置身份后，AI助手可以更好的服务您哦！</div>
				<div class="fui-cell-group radius" style="padding-top:0.5rem;margin-bottom:1rem">
				<div class="fui-cell">
					<div class="fui-cell-label bold">昵称</div>
					<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置昵称" ng-model="pagedata.member.title"/></div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-label bold">性别</div>
					<div class="fui-cell-info"></div>
					<div class="fui-cell-remark">
							<select class="weui_select c" ng-model="pagedata.member.sex"  style="width:5rem">
								<option value="1" ng-selected="pagedata.member.sex==1">男</option>
								<option value="2" ng-selected="pagedata.member.sex==2">女</option>
							</select>
					</div>
				</div>
				</div>
				<div class="fui-cellone" style="padding-top:2rem">
					<div class="fui-cellone-text" style="padding-right:0.5rem">
					<div class="radius c" ng-click="pagedata.showbody=false" style="background:#f6f7fb;color:#7783EA;padding:0.5rem">
						<i class="icon icon-back"></i> 返回
					</div>
					</div>	
					<div class="fui-cellone-ramark noremark">
					<div class="radius c jy-btn2" ng-click="pagedata.tocheckbody()" style="color:#fff;width:10rem;padding:0.5rem">
						确定
					</div>
					</div>	
				</div>
			</div>
		</div>
	</div>
</div>
<script>
scope.pagedata.tocheckbody=function(){
   scope.post_json('jy_aiagent/index/checkbody/',scope.pagedata.member,function(res){
		scope.pagedata.showbody=false;
		scope.$evalAsync();	
  });
}
</script>
</div>